<?php


class Sherpa_Model_Address extends WSB_Model
{

	/**
	 * @var array
	 */
	protected $_data = array(
		// sherpa_addresses
		'id' => null,
		'feuserId' => null,
		'firstName' => null,
		'lastName' => null,
		'company' => null,
		'street' => null,
		'poBox' => null,
		'zipCode' => null,
		'city' => null,
		'country' => null,
		'phone' => null,
		'email' => null,
		'modified' => null,
		'created' => null
	);

	/**
	 * @return boolean
	 */
	public function isEmpty()
	{
		return empty($this->_data['id']);
	}

	/**
	 * @return string
	 */
	public function getName()
	{
		return $this->getFirstName() . ' ' . $this->getLastName();
	}

}
